<cfcomponent displayname="FuseSettings" hint="">

	<cfproperty name="name" type="string">
	<cfproperty name="key" type="string">
	<cfproperty name="expires" type="string">
	<cfproperty name="type" type="string">
	<cfproperty name="staticfile" type="string">
	<cfproperty name="conditions" />
	<cfproperty name="variables" />
	
	<!--- init() --->
	<cffunction name="init" access="public" output="false" returntype="fusecache.FuseSettings">
		<cfscript>
			setDefaults();
			return this;
		</cfscript>
	</cffunction>
	
	<!--- setDefaults() --->
	<cffunction name="setDefaults" access="private" output="no" hint="">
		<cfset this.name = "" />
		<cfset this.key = "" />
		<cfset this.expires = "" />
		<cfset this.type = "" />
		<cfset this.staticfile = "" />
		<cfset this.conditions = ArrayNew(1) />
		<cfset this.variables = ArrayNew(1) />
	</cffunction>
	
	
	<!--- getName() --->
	<cffunction name="getName" access="public" returntype="string" output="false" hint="">
		<cfreturn this["name"] />
	</cffunction>
	
	
	<!--- getKey() --->
	<cffunction name="getKey" access="public" returntype="string" output="false" hint="">
		<cfreturn this["key"] />
	</cffunction>
	
	
	<!--- getExpires() --->
	<cffunction name="getExpires" access="public" returntype="string" output="false" hint="">
		<cfreturn this["expires"] />
	</cffunction>
	
	
	<!--- getType() --->
	<cffunction name="getType" access="public" returntype="string" output="false" hint="">
		<cfreturn this["type"] />
	</cffunction>
	
	
	<!--- getStaticFile() --->
	<cffunction name="getStaticFile" access="public" returntype="any" output="false" hint="">
		<cfreturn this["staticfile"] />
	</cffunction>
	
	
	<!--- getConditions() --->
	<cffunction name="getConditions" access="public" returntype="any" output="false" hint="">
		<cfreturn this["conditions"] />
	</cffunction>
	
	
	<!--- getVariables() --->
	<cffunction name="getVariables" access="public" returntype="any" output="false" hint="">
		<cfreturn this["variables"] />
	</cffunction>
	
	<!--- setKey() --->
	<cffunction name="setKey" access="public" returntype="void" output="false" hint="">
		<cfargument name="key" type="string" required="true" />
		<cfset this["key"] = arguments.key />
	</cffunction>
	
</cfcomponent>